package cn.buk.tms.eotms.service;

import cn.buk.common.JsonResult;
import cn.buk.tms.eotms.dto.VasOrderDto;
import cn.buk.tms.eotms.sc.SearchFlightOrderCriteria;
import cn.buk.tms.exception.BaseException;

import java.util.List;

/**
 * @author yfdai
 */
public interface VasOrderService {

  List<VasOrderDto> searchVasOrders(int userId, SearchFlightOrderCriteria sc, final boolean isInsurance);

  VasOrderDto getVasOrderById(int userId, int id);

  JsonResult createVaasOrder(int userId, String operator, VasOrderDto dto) throws BaseException;

  /**
   * 在线支付机场服务订单那
   * @param userId
   * @param orderId
   * @return
   */
  JsonResult payVaasOrder(int userId, int orderId);
}
